$OpenBSD: patch-chrome_browser_ui_webui_chrome_web_ui_controller_factory_cc,v 1.18 2017/04/28 14:21:00 robert Exp $
--- chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc.orig.port	Wed Apr 19 21:06:30 2017
+++ chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc	Thu Apr 27 19:56:00 2017
@@ -567,7 +567,7 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* we
   if (url.host_piece() == chrome::kChromeUINaClHost)
     return &NewWebUI<NaClUI>;
 #endif
-#if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA)
+#if ((defined(OS_LINUX) || defined(OS_BSD)) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA)
   if (url.host_piece() == chrome::kChromeUITabModalConfirmDialogHost) {
     return &NewWebUI<ConstrainedWebDialogUI>;
   }
